gusucode.com > 支持向量机工具箱 - LIBSVM OSU_SVM LS_SVM源码程序 > 支持向量机工具箱 - LIBSVM OSU_SVM LS_SVM\LS_SVMlab\mse1.m
function perf=mse1(e) % % calculate the mean squared error of the given errors % % 'perf = mse(E);' % % see also: % mae, linf, trimmedmse % % Copyright (c) 2002, KULeuven-ESAT-SCD, License & help @ http://www.esat.kuleuven.ac.be/sista/lssvmlab perf = sum(sum(e.^2)) / prod(size(e));